package com.cloudbroker.bcs.platform.dav.bizapi.service.business.upvote.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.EnumValue;
import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.ListQueryVO;

/**
 * Created by lnq on 2016/10/26.
 */
public class RecordListForm extends ListQueryVO {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    private String broker_name;
    private String openid;
    private String tenant_key;
    @IntegerString
    private String tenant_id;

    @EnumValue(enums = {"1","2","3"})
    private String vote_type;

    @EnumValue(enums = {"0","1","2","3","4","5"})
    private String order_type;

    public String getBroker_name() {
        return broker_name;
    }

    public void setBroker_name(String broker_name) {
        this.broker_name = broker_name;
    }

    public String getOrder_type() {
        return order_type;
    }

    public void setOrder_type(String order_type) {
        this.order_type = order_type;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getTenant_key() {
        return tenant_key;
    }

    public void setTenant_key(String tenant_key) {
        this.tenant_key = tenant_key;
    }

    public String getVote_type() {
        return vote_type;
    }

    public void setVote_type(String vote_type) {
        this.vote_type = vote_type;
    }

    @Override
    public String getTenant_id() {
        return tenant_id;
    }

    @Override
    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        return "RecordListForm{" +
                "broker_name='" + broker_name + '\'' +
                ", openid='" + openid + '\'' +
                ", tenant_key='" + tenant_key + '\'' +
                ", tenant_id='" + tenant_id + '\'' +
                ", vote_type='" + vote_type + '\'' +
                ", order_type='" + order_type + '\'' +
                '}';
    }
}
